package com.aliyun.messagemgt.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@AllArgsConstructor
public class BaseException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	  
	private String code;

	public BaseException(String code, String msg) {
		super(msg);
		this.code = code;
	}
}